import $http from "./requst";
// 登陆
export const login = (data) =>
  $http({ url: "/accreditation/Login/login", method: "post", data });

// 办证发布列表
export function Accreditation(data) {
  return $http({
    url: `/accreditation/Accreditation`,
    method: "POST",
    data,
  });
}
// 办证发布
export function AccreditationAdd(data) {
  return $http({
    url: `/accreditation/Accreditation/add`,
    method: "POST",
    data,
  });
}

// 办证删除
export function AccreditationDelete(data) {
  return $http({
    url: `/accreditation/Accreditation/delete`,
    method: "POST",
    data,
  });
}

// 办证编辑
export function AccreditationEdit(data) {
  return $http({
    url: `/accreditation/Accreditation/edit`,
    method: "POST",
    data,
  });
}

// 办证详情回显
export function AccreditationDetail(data) {
  return $http({
    url: `/accreditation/Accreditation/details`,
    method: "POST",
    data,
  });
}

// 办证下单记录
export function AccreditationSign(data) {
  return $http({
    url: `/accreditation/Accreditation/sign`,
    method: "POST",
    data,
  });
}
// 办证订单详情
export function signDetails(data) {
  return $http({
    url: `/accreditation/Accreditation/signDetails`,
    method: "POST",
    data,
  });
}
// 办证订单状态更改
export function checkStatus(data) {
  return $http({
    url: `/accreditation/Accreditation/checkStatus`,
    method: "POST",
    data,
  });
}
// 报名列表导出
export function signExcel(data) {
  return $http({
    url: `/accreditation/Accreditation/signExcel`,
    method: "POST",
    data,
  });
}
// 通知消息
export function noticeMsg(data) {
  return $http({
    url: `/accreditation/Index/noticeMsg`,
    method: "POST",
    data,
  });
}
// 通知消息改变已读
export function noticeCheckStatus(data) {
  return $http({
    url: `/accreditation/Index/noticeCheckStatus`,
    method: "POST",
    data,
  });
}
// 通知内容删除(
export function noticeDel(data) {
  return $http({
    url: `/accreditation/Index/noticeDel`,
    method: "POST",
    data,
  });
}
